'use strict'

let Sequelize = require('sequelize');
let sequelize = require('../db');

const User = sequelize.define('CPDA', {
    Jobtitle: {
        type: Sequelize.STRING(800),
        allowNull: false
    },
    Company:{
        type:Sequelize.STRING(100)
        // allowNull:false
    },
    Workingplace:{
        type:Sequelize.STRING(50)
        //allowNull:false
    },
    salary:{
        type:Sequelize.STRING(50)
    },
    Releasetime:{
        type:Sequelize.STRING(50)
    }
},{

})

module.exports = User;


// User.create({ firstName: "Jane", lastName: "Doe" }).then(jane => {
    // console.log("Jane's auto-generated ID:", jane.id);
// });